@import '../../css/colorVar.less';

.dataColumn {
  :global {
    .upWrapContainer {
      position: relative;
      display: flex;
      justify-content: flex-start;
      align-items: center;
    }

    .downWrapContainer {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }

    .upWraps {
      background: @upWraps !important;
      height: 10px;
    }

    .downWraps {
      background: @downWraps !important;
      height: 10px;
    }

    .recordSpan {
      flex: 1;
      display: inline-block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
}

.colFilterBox {
  padding: 10px;
  border-radius: 4px;

  :global {
    .selectAllBox {
      border-bottom: 1px solid #e9e9e9;
      padding-bottom: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .confirmBox {
      border-top: 1px solid #e9e9e9;
      padding-top: 5px;
      display: flex;
      justify-content: space-between;
      align-items: center;

      .confirmPopBtn {
        color: @theme;
        cursor: pointer;
      }
    }

    .ant-checkbox-group-item {
      display: flex;
      min-width: 100px;
      max-width: 220px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      text-align: left;
    }
  }
}

.statusTip {
  width: 36px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}

.tip-green {
  color: @table_tip;
  background: @tableTip_bg;
}

.tip-grey {
  background: @butt_disable_bg;
  color: @stock_status;
}
.redTab {
  :global {
    .ant-table-thead > tr > th {
      background-color: #f2f2f2 !important;
    }
  }
}
.emptyBox {
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  span {
    font-size: 12px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: @table_nodata_text;
    line-height: 16px;
  }
}
